<@master template="master/master-loan"  title="人员权限查看">
<@css href="/js/public/ztree/css/zTreeStyle/zTreeStyle.css"/>

			<div class="detaiTab detaiTab1">
				<form  action="/act/role/resourcesList" class="clearfix" data-action-html="#action_load_body" method="get" id="loanUserForm" >
				
				 <table border="0" cellpadding="0" cellspacing="0" width="100%">
					 <tr>
						 <td class="bg" align="right" width="15%">人员姓名:</td>
						 <td>
							<@autocomplete url="/loanrest/operator?name=" name="employeeNamecn" value="${vo.cname}" hideIdName="employeeNo" hideIdValue="${vo.no}"/>(联想)
						 </td>
					</tr>
					
					<tr>
					   <td class="bg"></td>
					   <td colspan="3"><input type="submit" value="搜索" class="btn_auto_30 btn_blue" />
					 </tr>
					</table>
						<input name="pageIndex" type="hidden" value="0" />
				</form>
			</div>
					
<div class="row" style="opacity: 1;">
	<div id="resoList" style="display:none;">${allResList}</div>
	<div id="myResList" style="display:none;">${myResList}</div>
	<input type="hidden" id="roleLevelHidden" value="${user.roleLevel}">
	<div class="col-lg-12">
         <div class="detailsBox">
         <h3><p class="fr"> </p><i class="jtIco"></i>人员权限查看信息</h3>
         <div class="main-box-body clearfix mt10" id="isShowZtree" style="display:none;">
		  	   <div class="col-sm-4">
                    <div class="col_list">
                        <div>菜单权限</div>
                        <div class="mt10 clearfix">
                            <input type="hidden" id="role_menus" name="menuIds" class="form-control" value="${menuIds}">
                  			<ul id="treeDiv" class="ztree"></ul>
                        </div>
                    </div>
                </div>
      </div>
</div>

</@master>
<@js src="/js/public/ztree/js/jquery.ztree.core.min.js;/js/public/ztree/js/jquery.ztree.excheck.min.js;/js/o2o-admin/sys/common/treeMenu.js;/js/o2o-admin/sys/permission/resourceInfo.js"/><@jsRender/>
<script>
	$(document).ready(function(){	
		if(${user.employeeNo}=="" || ${user.employeeNo} == null){
			$("#isShowZtree").css('display','none'); //不显示
		}else{
			$("#isShowZtree").css('display','block'); //显示Ztree
		}
	});
</script>
